#if !defined(AFX_CHARTVIRTUALSERIESVIEW_H__382EB1BC_4FCA_4B72_8265_924E952F6848__INCLUDED_)
#define AFX_CHARTVIRTUALSERIESVIEW_H__382EB1BC_4FCA_4B72_8265_924E952F6848__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartVirtualSeriesView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartVirtualSeriesView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

class CChartVirtualSeriesView : public CBCGPChartExampleView
{
protected:
	CChartVirtualSeriesView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartVirtualSeriesView)

// Form Data
public:
	//{{AFX_DATA(CChartVirtualSeriesView)
	enum { IDD = IDD_VIRTUAL_SERIES };
	CBCGPSliderCtrl	m_wndXRange;
	CBCGPChartCtrl	m_wndChart;
	int		m_nCallbackType;
	int		m_nXRange;
	CString	m_strXRange;
	//}}AFX_DATA

// Attributes
public:

	virtual CBCGPChartVisualObject* GetChart()
	{
		return m_wndChart.GetChart();
	}

	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndChart;
	}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartVirtualSeriesView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CChartVirtualSeriesView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartVirtualSeriesView)
	afx_msg void OnUpdateChart();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	BOOL m_bDisableAnimation;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTVIRTUALSERIESVIEW_H__382EB1BC_4FCA_4B72_8265_924E952F6848__INCLUDED_)
